package com.topone.Exception;

import com.topone.Enum.ResultEnum;

/**
 * Created by Administrator on 2017/11/25,0025.
 */
public class FanZoneException extends RuntimeException{

    private Integer code;
    private String message;

    public FanZoneException(ResultEnum resultEnum) {
        super(resultEnum.getMessage());
        this.code = code;
    }

    public FanZoneException(Integer code,String message) {
        this.code = code;
        this.message=message;
    }
}
